# encoding: utf-8
# @author: luzhangdan
# @file: manage_base.py
# @time: 2021/10/19 15:23


from api.base_api import BaseApi
from common.yml_load import read_yaml


class ManageBase(BaseApi):
    def __init__(self):
        super().__init__()
        self.host = read_yaml("http.yml").get("TestENV")
        self.headers = {
            "Authorization": "Bearer " + str(BaseApi.login_token)
        }


if __name__ == '__main__':
    b = ManageBase()
    print(b.host)
    print(b.headers)
